console.log('index.js被加载了~~')

// import { multiply } from './test'

/* 懒加载
---------------------------------------------------------------- */
document.getElementById('btn').onclick = function () {
  // console.log(multiply(1, 5))
  import(/* webpackChunkName: "test", webpackPrefetch: true */ './test')
    .then((module) => console.log(module.multiply(1, 5)))
    .catch((error) => console.log(error))
}
